﻿using FarmSmartSleep.Common.Dtos;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace FarmSmartSleep.Organ.API.Application.Commands.CottagesCommands
{
    public class CottageCreateCommand:IRequest<Result>
    {
        /// <summary>
        /// 所在羊场
        /// </summary>
        public int FarmId { get; set; }
        /// <summary>
        /// 栋舍类型
        /// </summary>
        public int CottageTypeId { get; set; }
        /// <summary>
        /// 栋舍名称
        /// </summary>
        public string CottageName { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public int PersId { get; set; }
        /// <summary>
        /// 生产人员
        /// </summary>
        public int Production { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool Status { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(100)]
        public string? Remark { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public int CreateId { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Deletes { get; set; }=false;

    }
}
